package com.qsboss.demo.service;

import com.github.pagehelper.PageInfo;
import com.qsboss.demo.domain.Result;
import com.qsboss.demo.pojo.TbUser;

import java.util.List;

/**
 * @author 军哥
 * @version 1.0
 * @description: TODO
 * @date 2023/10/22 16:29
 */

public interface TbUserService {
    Result login(String userName, String userPass);
    List<TbUser> userList();
    String getRoleName(String role);
    PageInfo getUserByPage(int curPage, int pageSize);
    PageInfo getCustomerByPage(int curPage, int pageSize);
    TbUser getUserByMail(String userMail);

    TbUser getUserById(Integer customerId);
}
